package JavaN.Java9;

import java.util.Comparator;

public class 钻石操作符的使用升级8 {
    public static void main(String[] args) {
        Comparator<Object> com = new Comparator<Object/*jdk8 Object不能省 9可以*/>() {
            @Override
            public int compare(Object o1, Object o2) {
                return 0;
            }
        };
    }
}
